package com.pfzy.lib.config.DTO;

public class FaceSet {
    private Settings settings;
    private AuthTimes authTimes;

    public Settings getSettings() {
        return settings;
    }

    public void setSettings(Settings settings) {
        this.settings = settings;
    }

    public AuthTimes getAuthTimes() {
        return authTimes;
    }

    public void setAuthTimes(AuthTimes authTimes) {
        this.authTimes = authTimes;
    }

    public class Settings {
        private int loginFlag;
        private int firstFlag;
        private int randFlag;

        public int getLoginFlag() {
            return loginFlag;
        }

        public void setLoginFlag(int loginFlag) {
            this.loginFlag = loginFlag;
        }

        public int getFirstFlag() {
            return firstFlag;
        }

        public void setFirstFlag(int firstFlag) {
            this.firstFlag = firstFlag;
        }

        public int getRandFlag() {
            return randFlag;
        }

        public void setRandFlag(int randFlag) {
            this.randFlag = randFlag;
        }

        @Override
        public String toString() {
            return "{" +
                    "\"loginFlag\":" + loginFlag +
                    ", \"firstFlag\":" + firstFlag +
                    ", \"randFlag\":" + randFlag +
                    '}';
        }
    }

    public class AuthTimes{
        private int failNums;
        private int waitMin;

        public int getFailNums() {
            return failNums;
        }

        public void setFailNums(int failNums) {
            this.failNums = failNums;
        }

        public int getWaitMin() {
            return waitMin;
        }

        public void setWaitMin(int waitMin) {
            this.waitMin = waitMin;
        }

        @Override
        public String toString() {
            return "{" +
                    "\"failNums\":" + failNums +
                    ", \"waitMin\":" + waitMin +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "FaceSet{" +
                "settings=" + settings +
                ", authTimes=" + authTimes +
                '}';
    }
}
